ArcPad Applet File Schema
MAP Element
See Also  Send comments on this topic.
ArcPad Applet File Schema > ArcPad Element > APPLET Element > SYSTEMOBJECTS Element : MAP Element

Glossary Item Box

Description

When parent element is SYSTEMOBJECTS, MAP is used to specify scripts to call when Map object events occur.

Diagram

MAP Element

Overview

MAP
When parent element is SYSTEMOBJECTS, MAP is used to specify scripts to call when Map object events occur.
onafterdraw optional xs:string
Specify the script to run when this event occurs.
onafterlayerdraw optional xs:string
Specify the script to run when this event occurs.
onbeforedraw optional xs:string
Specify the script to run when this event occurs.
onbeforelayerdraw optional xs:string
Specify the script to run when this event occurs.
onclose optional xs:string
Specify the script to run when this event occurs
ondrawingcancelled optional xs:string
Specify the script to run when this event occurs.
onfeatureadded optional xs:string
Specify the script to run when this event occurs.
onfeaturechanged optional xs:string
Specify the script to run when this event occurs.
onfeaturedeleted optional xs:string
Specify the script to run when this event occurs.
onfeaturegeometrychanged optional xs:string
Specify the script to run when this event occurs.
onidentify optional xs:string
Specify the script to run when this event occurs.
onnew optional xs:string
Specify the script to run when this event occurs.
onopen optional xs:string
Specify the script to run when this event occurs
onpointerdown optional xs:string
Specify the script to run when this event occurs.
onpointermodechanged optional
Specify the script to run when this event occurs.
onpointermove optional xs:string
Specify the script to run when this event occurs.
onpointerup optional xs:string
Specify the script to run when this event occurs.
onsave optional xs:string
Specify the script to run when this event occurs.
onselectionchanged optional xs:string
Specify the script to run when this event occurs.

Attributes

NameTypeUseDefaultFixedDescription
onafterdrawxs:stringoptional  Specify the script to run when this event occurs.
onafterlayerdrawxs:stringoptional  Specify the script to run when this event occurs.
onbeforedrawxs:stringoptional  Specify the script to run when this event occurs.
onbeforelayerdrawxs:stringoptional  Specify the script to run when this event occurs.
onclosexs:stringoptional  Specify the script to run when this event occurs
ondrawingcancelledxs:stringoptional  Specify the script to run when this event occurs.
onfeatureaddedxs:stringoptional  Specify the script to run when this event occurs.
onfeaturechangedxs:stringoptional  Specify the script to run when this event occurs.
onfeaturedeletedxs:stringoptional  Specify the script to run when this event occurs.
onfeaturegeometrychangedxs:stringoptional  Specify the script to run when this event occurs.
onidentifyxs:stringoptional  Specify the script to run when this event occurs.
onnewxs:stringoptional  Specify the script to run when this event occurs.
onopenxs:stringoptional  Specify the script to run when this event occurs
onpointerdownxs:stringoptional  Specify the script to run when this event occurs.
onpointermodechanged optional  Specify the script to run when this event occurs.
onpointermovexs:stringoptional  Specify the script to run when this event occurs.
onpointerupxs:stringoptional  Specify the script to run when this event occurs.
onsavexs:stringoptional  Specify the script to run when this event occurs.
onselectionchangedxs:stringoptional  Specify the script to run when this event occurs.

Remarks

When parent element is SYSTEMOBJECTS:

  • The subroutine called should be located in the file specified in the SCRIPT element.

Source

<xs:element name="MAP" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType>
    <xs:attribute ref="onafterdraw">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="onafterlayerdraw" />
    <xs:attribute ref="onbeforedraw">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="onbeforelayerdraw">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="onclose" />
    <xs:attribute ref="ondrawingcancelled">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="onfeatureadded">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="onfeaturechanged">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="onfeaturedeleted">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="onfeaturegeometrychanged">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="onidentify">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="onnew">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="onopen">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="onpointerdown">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="onpointermodechanged">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="onpointermove">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="onpointerup">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="onsave">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="onselectionchanged">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
</xs:element>

See Also

© 2012 All Rights Reserved.